fn_addOrEditor = (ctx) => {
    let html = `
    <div id="add">
        <table>
            <tr hidden>
                <td>id:</td>
                <td>
                    <input type="text" name="id">
                </td>
            </tr>
            <tr>
                <td>标题:</td>
                <td>
                    <input type="text" name="name">
                </td>             
            </tr>
            <tr>
                <td>摘要:</td>
                <td>
                    <input type="text" name="zy">
                </td>             
            </tr>
            <tr>
                <td>内容:</td>
                <td>
                    <input type="text" name="nr">
                </td>             
            </tr>
            <tr>
            <td>分类:</td>
            <td>
                <input type="text" name="Categroy">
            </td>             
            </tr>
            <tr>
                <td>作者:</td>
                <td>
                    <input type="text" name="Author">
                </td>             
            </tr>
            <tr>
                <td>
                    <input type="button" value="保存" onclick="save(${''})">
                </td>
                <td>
                    <input type="button" value="取消" onclick="cancel()">
                </td>             
            </tr>
        </table>
    </div>
    `
    ctx.body = html
}
let get = [['/addhtml', fn_addOrEditor]]
module.exports = {
    "GET": get
}